﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework.Graphics;
using SWF.Runtime;

namespace SWF
{
    public enum SWFMode 
    {
        Tessellation,
        RealTime,
    }

    public static class SWFMain
    {
        public static GraphicsDevice Device;
        public static Effect SVGShader;
        public static Dictionary<uint, IContent> ContentDictionary;

        public static SWFMode Mode;

        public static void CreateContext(GraphicsDevice device, Effect svg)
        {
            Device = device;
            SVGShader = svg;
            ContentDictionary = new Dictionary<uint, IContent>();

            Mode = SWFMode.Tessellation;
        }
    }
}
